home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1690 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: INbe.net!usenet
  2. From: bert.wynants@innet.be (Bert Wynants)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: sas/c c -> asm
  5. Date: 22 Jan 96 21:09:22 +0100
  6. Organization: INnet NV (post doesn't reflect views of INnet NV)
  7. Message-ID: <1375.6595T1269T1118@innet.be>
  8. References: <781.6594T816T2161@innet.be> <3102E8CB.5EC3@nando.net>
  9. NNTP-Posting-Host: pool016-16.innet.be
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. In article <3102E8CB.5EC3@nando.net>, sekruege@nando.net (Steve Krueger) writes:
  13.  
  14. >> With SAS/C (6.56) it's possible to create an asm file out of a c-source
  15. >> file
  16. >> (disassemble option). However if I want to asm this generated file the
  17. >> assmebler chokes on it:
  18. >> 
  19. >> test.a 214 Error: invalid operands for this opcode
  20. >>               MOVEM.L        D4/D5/D6/D7/A2/A3/A4/A5/A6,-(A7);48e7 0f3e
  21. >> 
  22.  
  23. >The SAS Assembler has a limit to the number of register ranges you can 
  24. >specify on the movem instruction. Also, the semicolon should be separated
  25. >from the rest of the line by a space. Change this line to :
  26.  
  27. >         MOVEM.L        D4-D7/A2-A6,-(A7)   ;48e7 0f3e
  28.  
  29. >And it should assemble ok.
  30.  
  31. Yes, but problem is I need to do this a lot and want to do this automatic.
  32. The project is +-1Meg C-Source and that statement occurs often.
  33. (find replace in editor is not an option, must be able to do this from within the makefile)
  34.  
  35. I was hoping I did something wrong with the compilation options.
  36.  
  37. thanks for the try,
  38. Bert
  39. --
  40.   ___                 _   
  41.  (  _`\              ( )_                Fido
  42.  | (_) )   __   _ __ | ,_)                 2:292/603.76
  43.  |  _ <' /'__`\( '__)| |                 e-mail
  44.  | (_) )(  ___/| |   | |_                  bert.wynants@innet.be
  45.  (____/'`\____)(_)   `\__)  Wynants,  Belgium,  Europe.
  46.  
  47. In an atomic war, all men will be cremated equal.
  48.  
  49.